package com.itheima.chapter02.object;

import java.sql.SQLTransactionRollbackException;

public class Phone {
    String brand;
    int price;
    public void call(String name){
        System.out.println("给"+name+"打电话");
    }
    public void sendmessage(){
        System.out.println("群发");
    }
}
